package com.zyf.mt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;

/**
 * Hello world!
 *
 */
@MapperScan("com.zyf.mt.dao")
@SpringBootApplication(scanBasePackages = "com.zyf.mt.*")
@RestController
public class App {
    public static void main( String[] args ) {

        System.setProperty("tomcat.util.http.parser.HttpParser.requestTargetAllow","|{}");
        System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(App.class,args);

    }
}
